package com.dong.util;

import java.util.Random;
//此类用于随机产生激活码
public class GenerateValidateCode {
	private static Random random;
	
	static {
		random = new Random();
	}
	
	public GenerateValidateCode() {
		
	}
	
	public static String getValidateCode() {
		long rnd = random.nextLong();
		return Long.toHexString(rnd);
	}
}
